Spread WPF Documentation
Evaluate(Object[],Object) Method


GrapeCity.CalcEngine.Functions Namespace > CalcIndexFunction Class > Evaluate Method : Evaluate(Object[],Object) Method

The args contains 2 - 4 items: array, row_num, [column_num], [Area_num].

Array is a range of cells or an array constant.

Row_num selects the row in array from which to return a value. If row_num is omitted, column_num is required.

[Column_num] selects the column in array from which to return a value. If column_num is omitted, row_num is required.

[Area_num] selects a range in reference from which to return the intersection of row_num and column_num.
Context in which the evaluation occurs
Returns a value or the reference to a value from within a table or range.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object, _
   ByVal context As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcIndexFunction
Dim args() As System.Object
Dim context As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args, context)
public override System.object Evaluate( 
   System.object[] args,
   System.object context
)

Parameters

args

The args contains 2 - 4 items: array, row_num, [column_num], [Area_num].

Array is a range of cells or an array constant.

Row_num selects the row in array from which to return a value. If row_num is omitted, column_num is required.

[Column_num] selects the column in array from which to return a value. If column_num is omitted, row_num is required.

[Area_num] selects a range in reference from which to return the intersection of row_num and column_num.
context
Context in which the evaluation occurs

Return Value

A System.Object value that indicates the evaluate result.
See Also

Reference

CalcIndexFunction Class
CalcIndexFunction Members
Overload List